package com.yihaodian.search.broker;

import com.google.inject.AbstractModule;
import com.yihaodian.api.client.BrokerService;
import com.yihaodian.search.broker.shard.ShardSearchClient;

public class BrokerModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(BrokerService.class).to(SearchBroker.class).asEagerSingleton();
		bind(ShardSearchClient.class).asEagerSingleton();
	}

}
